package com.tmptSource.controller.action;

import com.opensymphony.xwork2.ActionSupport;
import com.tmpt.dto.Result;
import com.tmptSource.dto.OwDoorRespInfoDto;
import com.tmptSource.dto.PageDto;
import com.tmptSource.service.intf.IOwDoorRespInfoService;
import com.tmpt.utils.*;
import lombok.Getter;
import lombok.Setter;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import org.apache.log4j.Logger;
import org.apache.struts2.ServletActionContext;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.math.BigDecimal;
import java.util.*;

@Getter
@Setter
@Controller(value="owDoorRespInfoAction")
@Scope("prototype")
public class OwDoorRespInfoAction extends ActionSupport {
	private Logger log = Logger.getLogger(this.getClass());


	//------------
	//与页面交互的分页和排序
	//--------------
	private int page=0;
	private int rows=0;
	private String sortColumn;
	private String sortOrder;

	//------------
	//与页面交互的业务数据
	//--------------
    private String id;
    private String deleteflag;
    private String createdate;
	private String createdate_Start;
	private String createdate_End;
    private String createman;
    private String modifydate;
	private String modifydate_Start;
	private String modifydate_End;
    private String modifyman;
    private String createmanId;
    private String modifymanId;
    private String companyId;
    private String entName;
    private String entShopName;
    private String entFormat;
	private String advFacilityAddr;
	private String advLocation;
    private String entDetailAdd;
    private String entOwner;
    private String entProperty;
    private String entSocialCreditCode;
    private String entManageArea;
    private String entLegalPerson;
    private String entLpTel;
    private String entRespPerson;
    private String entRpTel;
    private String entType;
    private String cookWasteCollectUnit;
    private String cookDeviceInstall;
    private String cookCollectCarNo;
    private String cookCollectRate;
    private String cookCollectTime;
    private String cookPurityUnit;
    private String cookCleanRate;
    private String cookHasCertificate;
    private String dgClearUnit;
    private String dgClearRate;
    private String dgType;
    private String waterHasLicence;
    private String waterLicenceNo;
    private String advShopBrandType;
    private String advShopBrandContent;
    private String advShopLinkman;
    private String advShopTel;
    private String advShopApproval;
    private String advApprovalNo;
    private String advShopApprovalTerm;
    private String advShopSetYear;
    private String advShopSetNum;
    private String advShopSize;
    private String advShopSetHeight;
    private String advHeight;
    private String advShopStructureType;
    private String advShopMaterial;
    private String advShopSetType;
    private String advStructureType;
    private String advMaterial;
    private String userId;
    private String insertFlag;
    private String advShopApprovalNo;
    private String advBrandType;
    private String advContent;
    private String advPlaceOwner;
    private String advPlaceLinkman;
    private String advPlaceTel;
    private String advSetParty;
    private String advSetPartyLinkman;
    private String advSetPartyTel;
    private String advApproval;
    private String advApprovalTermVar;
    private String advApprovalTermDate;
	private String advApprovalTermDate_Start;
	private String advApprovalTermDate_End;
    private String advSetNum;
    private String advSize;
    private String advSetMode;
    private String parkRegAddr;
    private String parkPlaceAddr;
    private String parkRecordCardNo;
    private String parkRecordDate;
    private String parkRespPerson;
    private String parkRespPersonTel;
    private String parkPropertyNature;
    private String parkLotSum;
    private String parkPlaceType;
    private String parkLotNum;
    private String parkLotFreightBasis;
    private String parkGarageNum;
    private String parkGarageFreightBasis;
    private String parkOnline;
    private String parkServiceTime;
    private String randomKey;
    private String parkServiceTel;
    private String parkHotline;
    private String signPic;

	//返回结果
	private String result;
	//返回结果
	private List<Map<String,Object>> jsonArrayResult = new ArrayList<Map<String,Object>>();


	@Resource
	private IOwDoorRespInfoService owDoorRespInfoService;


	/**
	* 分页查询列表
	* @return
	*/
	public String queryListBySearch(){
		try {

			HttpServletResponse response = ServletActionContext.getResponse();
			HttpServletRequest request = WebUtils.getRequest();
			HttpSession session = request.getSession();

			//查询参数
			//分页/排序查询条件
			PageDto pageDto = new PageDto();
			//默认主键desc
			if(StringUtils.isNull(sortColumn)){
				sortColumn = "id";
				sortOrder = "desc";
			}
			pageDto.setPageCurrent(page-1);
			pageDto.setPageSize(rows);
			pageDto.setSortColumn(sortColumn);
			pageDto.setSortOrder(sortOrder);

			//查询条件
			OwDoorRespInfoDto owDoorRespInfoParam = new OwDoorRespInfoDto();
			owDoorRespInfoParam.setCreateman(this.createman);
			owDoorRespInfoParam.setCreatemanId(this.createmanId);
			owDoorRespInfoParam.setEntName(this.entName);
			owDoorRespInfoParam.setEntShopName(this.entShopName);
			owDoorRespInfoParam.setEntSocialCreditCode(this.entSocialCreditCode);
			owDoorRespInfoParam.setEntType(this.entType);
			owDoorRespInfoParam.setUserId(this.userId);

			//data limit control
			String requireUrl = request.getRequestURI().toString();
			String queryString = request.getQueryString();
			String contextPath = request.getContextPath();
			//data limit parameters
			String userId = WebUtils.getUserId();
			Map<String,Object> paramMap = new HashMap<String, Object>();
			paramMap.put("userId", userId);
			paramMap.put("contextPath", contextPath);
			paramMap.put("requireUrl", requireUrl);
			paramMap.put("queryString", queryString);

			//调用远程服务
			Result<OwDoorRespInfoDto> resultObj =  owDoorRespInfoService.pagination(owDoorRespInfoParam,pageDto,paramMap);
			if(!resultObj.isSuccess()){
				this.result = "error:"+resultObj.getContent();
				JsonPaginationUtils.responseWriter(response, this.result);
				return "jsonResult";
			}
			Map<String,Object> resultMap = resultObj.getResultMap();

			//分页记录
			List<OwDoorRespInfoDto> list = (List<OwDoorRespInfoDto>)resultMap.get("rows");
			JSONArray jsonArrayRows = JSONArray.fromObject(list);

			//分页总记录数
			int total = 0;
			if(resultMap.get("total") != null){
				total = Integer.parseInt(resultMap.get("total").toString());
			}

			//分页合计（select '合计' as c1, sum(balance) as c2 ....）
			JSONArray jsonArrayFooter = null;
			if(resultMap.get("footer")!=null){
				jsonArrayFooter = JSONArray.fromObject(resultMap.get("footer"));
			}

			JSONObject json = new JSONObject();
			json.put("total", total);
			json.put("rows", jsonArrayRows);
			//json.put("reportSqlString",reportSqlString);
			if(jsonArrayFooter!=null){
				json.put("footer", jsonArrayFooter);
			}

			this.result = json.toString();
			JsonPaginationUtils.responseWriter(response, this.result);

		} catch (Exception e) {
			e.printStackTrace();
		}
		return "jsonResult";
	}

	/**
	* 伪删除数据
	* @return
	*/
	public String removeData(){
		Result resultObj = new Result();
		try {
			HttpServletResponse response = ServletActionContext.getResponse();
			HttpServletRequest request = WebUtils.getRequest();
			HttpSession session = request.getSession();

			//参数
			String adminMan = WebUtils.getUsername();//加入管理员

			//调用远程服务
			resultObj =  owDoorRespInfoService.deleteById(Long.valueOf(id),adminMan);
			this.jsonArrayResult.add(resultObj.getResultMap());

		} catch (Exception e) {
			e.printStackTrace();
			resultObj.fault("error:系统出错:"+e.getLocalizedMessage());
			this.jsonArrayResult.add(resultObj.getResultMap());
		}

		return "jsonArray";
	}


	/**
	* 编辑数据
	* @return
	*/
	public String editData(){
		Result<OwDoorRespInfoDto> resultObj = new Result();
		try {
			HttpServletResponse response = ServletActionContext.getResponse();
			HttpServletRequest request = WebUtils.getRequest();
			HttpSession session = request.getSession();

			//参数
			OwDoorRespInfoDto owDoorRespInfoDto = new OwDoorRespInfoDto();
			String adminMan = WebUtils.getUsername();//加入管理员
            String userId = WebUtils.getUserId();
			owDoorRespInfoDto.setModifymanId(userId);
			owDoorRespInfoDto.setModifyman(adminMan);
			owDoorRespInfoDto.setCompanyId(WebUtils.getCompanyId());
			owDoorRespInfoDto.setId(this.id);
			//编辑数据
			owDoorRespInfoDto.setEntName(this.entName);
			owDoorRespInfoDto.setSignPic(this.signPic);

			owDoorRespInfoDto.setEntShopName(this.entShopName);
			owDoorRespInfoDto.setEntFormat(this.entFormat);
			owDoorRespInfoDto.setAdvFacilityAddr(this.advFacilityAddr);
			owDoorRespInfoDto.setAdvLocation(this.advLocation);
			owDoorRespInfoDto.setEntDetailAdd(this.entDetailAdd);
			owDoorRespInfoDto.setEntOwner(this.entOwner);
			owDoorRespInfoDto.setEntProperty(this.entProperty);
			owDoorRespInfoDto.setEntSocialCreditCode(this.entSocialCreditCode);
			owDoorRespInfoDto.setEntManageArea(this.entManageArea);
			owDoorRespInfoDto.setEntLegalPerson(this.entLegalPerson);
			owDoorRespInfoDto.setEntLpTel(this.entLpTel);
			owDoorRespInfoDto.setEntRespPerson(this.entRespPerson);
			owDoorRespInfoDto.setEntRpTel(this.entRpTel);
			owDoorRespInfoDto.setEntType(this.entType);
			owDoorRespInfoDto.setCookWasteCollectUnit(this.cookWasteCollectUnit);
			owDoorRespInfoDto.setCookDeviceInstall(this.cookDeviceInstall);
			owDoorRespInfoDto.setCookCollectCarNo(this.cookCollectCarNo);
			owDoorRespInfoDto.setCookCollectRate(this.cookCollectRate);
			owDoorRespInfoDto.setCookCollectTime(this.cookCollectTime);
			owDoorRespInfoDto.setCookPurityUnit(this.cookPurityUnit);
			owDoorRespInfoDto.setCookCleanRate(this.cookCleanRate);
			owDoorRespInfoDto.setCookHasCertificate(this.cookHasCertificate);
			owDoorRespInfoDto.setDgClearUnit(this.dgClearUnit);
			owDoorRespInfoDto.setDgClearRate(this.dgClearRate);
			owDoorRespInfoDto.setDgType(this.dgType);
			owDoorRespInfoDto.setWaterHasLicence(this.waterHasLicence);
			owDoorRespInfoDto.setWaterLicenceNo(this.waterLicenceNo);
			owDoorRespInfoDto.setAdvShopBrandType(this.advShopBrandType);
			owDoorRespInfoDto.setAdvShopBrandContent(this.advShopBrandContent);
			owDoorRespInfoDto.setAdvShopLinkman(this.advShopLinkman);
			owDoorRespInfoDto.setAdvShopTel(this.advShopTel);
			owDoorRespInfoDto.setAdvShopApproval(this.advShopApproval);
			owDoorRespInfoDto.setAdvApprovalNo(this.advApprovalNo);
			owDoorRespInfoDto.setAdvShopApprovalTerm(this.advShopApprovalTerm);
			owDoorRespInfoDto.setAdvShopSetYear(this.advShopSetYear);
			owDoorRespInfoDto.setAdvShopSetNum(this.advShopSetNum);
			owDoorRespInfoDto.setAdvShopSize(this.advShopSize);
			owDoorRespInfoDto.setAdvShopSetHeight(this.advShopSetHeight);
			owDoorRespInfoDto.setAdvHeight(this.advHeight);
			owDoorRespInfoDto.setAdvShopStructureType(this.advShopStructureType);
			owDoorRespInfoDto.setAdvShopMaterial(this.advShopMaterial);
			owDoorRespInfoDto.setAdvShopSetType(this.advShopSetType);
			owDoorRespInfoDto.setAdvStructureType(this.advStructureType);
			owDoorRespInfoDto.setAdvMaterial(this.advMaterial);
			owDoorRespInfoDto.setUserId(this.userId);
			owDoorRespInfoDto.setInsertFlag(this.insertFlag);
			owDoorRespInfoDto.setAdvShopApprovalNo(this.advShopApprovalNo);
			owDoorRespInfoDto.setAdvBrandType(this.advBrandType);
			owDoorRespInfoDto.setAdvContent(this.advContent);
			owDoorRespInfoDto.setAdvPlaceOwner(this.advPlaceOwner);
			owDoorRespInfoDto.setAdvPlaceLinkman(this.advPlaceLinkman);
			owDoorRespInfoDto.setAdvPlaceTel(this.advPlaceTel);
			owDoorRespInfoDto.setAdvSetParty(this.advSetParty);
			owDoorRespInfoDto.setAdvSetPartyLinkman(this.advSetPartyLinkman);
			owDoorRespInfoDto.setAdvSetPartyTel(this.advSetPartyTel);
			owDoorRespInfoDto.setAdvApproval(this.advApproval);
			owDoorRespInfoDto.setAdvApprovalTermVar(this.advApprovalTermVar);
			owDoorRespInfoDto.setAdvApprovalTermDate(this.advApprovalTermDate);
			owDoorRespInfoDto.setAdvSetNum(this.advSetNum);
			owDoorRespInfoDto.setAdvSize(this.advSize);
			owDoorRespInfoDto.setAdvSetMode(this.advSetMode);
			owDoorRespInfoDto.setParkRegAddr(this.parkRegAddr);
			owDoorRespInfoDto.setParkPlaceAddr(this.parkPlaceAddr);
			owDoorRespInfoDto.setParkRecordCardNo(this.parkRecordCardNo);
			owDoorRespInfoDto.setParkRecordDate(this.parkRecordDate);
			owDoorRespInfoDto.setParkRespPerson(this.parkRespPerson);
			owDoorRespInfoDto.setParkRespPersonTel(this.parkRespPersonTel);
			owDoorRespInfoDto.setParkPropertyNature(this.parkPropertyNature);
			owDoorRespInfoDto.setParkLotSum(this.parkLotSum);
			owDoorRespInfoDto.setParkPlaceType(this.parkPlaceType);
			owDoorRespInfoDto.setParkLotNum(this.parkLotNum);
			owDoorRespInfoDto.setParkLotFreightBasis(this.parkLotFreightBasis);
			owDoorRespInfoDto.setParkGarageNum(this.parkGarageNum);
			owDoorRespInfoDto.setParkGarageFreightBasis(this.parkGarageFreightBasis);
			owDoorRespInfoDto.setParkOnline(this.parkOnline);
			owDoorRespInfoDto.setParkServiceTime(this.parkServiceTime);
			owDoorRespInfoDto.setRandomKey(this.randomKey);
			owDoorRespInfoDto.setParkServiceTel(this.parkServiceTel);
			owDoorRespInfoDto.setParkHotline(this.parkHotline);

			//调用远程服务
			resultObj =  owDoorRespInfoService.editData(owDoorRespInfoDto);
			this.jsonArrayResult.add(resultObj.getResultMap());

		} catch (Exception e) {
			e.printStackTrace();
			resultObj.fault("error:系统出错:"+e.getLocalizedMessage());
			this.jsonArrayResult.add(resultObj.getResultMap());
		}

		return "jsonArray";
	}

	/**
	* 添加数据
	* @return
	*/
	public String addData(){
		Result<OwDoorRespInfoDto> resultObj = new Result();
		try {
			HttpServletResponse response = ServletActionContext.getResponse();
			HttpServletRequest request = WebUtils.getRequest();
			HttpSession session = request.getSession();

			//插入参数
			OwDoorRespInfoDto owDoorRespInfoDto = new OwDoorRespInfoDto();
			String adminMan = WebUtils.getUsername();//加入管理员
			String userId = WebUtils.getUserId();
			owDoorRespInfoDto.setCreatemanId(userId);
			owDoorRespInfoDto.setCreateman(adminMan);
			owDoorRespInfoDto.setCompanyId(WebUtils.getCompanyId());
			//插入数据
			owDoorRespInfoDto.setEntName(this.entName);
			owDoorRespInfoDto.setEntShopName(this.entShopName);
			owDoorRespInfoDto.setEntFormat(this.entFormat);
			owDoorRespInfoDto.setAdvFacilityAddr(this.advFacilityAddr);
			owDoorRespInfoDto.setAdvLocation(this.advLocation);
			owDoorRespInfoDto.setEntDetailAdd(this.entDetailAdd);
			owDoorRespInfoDto.setEntOwner(this.entOwner);
			owDoorRespInfoDto.setEntProperty(this.entProperty);
			owDoorRespInfoDto.setEntSocialCreditCode(this.entSocialCreditCode);
			owDoorRespInfoDto.setEntManageArea(this.entManageArea);
			owDoorRespInfoDto.setEntLegalPerson(this.entLegalPerson);
			owDoorRespInfoDto.setEntLpTel(this.entLpTel);
			owDoorRespInfoDto.setEntRespPerson(this.entRespPerson);
			owDoorRespInfoDto.setEntRpTel(this.entRpTel);
			owDoorRespInfoDto.setEntType(this.entType);
			owDoorRespInfoDto.setCookWasteCollectUnit(this.cookWasteCollectUnit);
			owDoorRespInfoDto.setCookDeviceInstall(this.cookDeviceInstall);
			owDoorRespInfoDto.setCookCollectCarNo(this.cookCollectCarNo);
			owDoorRespInfoDto.setCookCollectRate(this.cookCollectRate);
			owDoorRespInfoDto.setCookCollectTime(this.cookCollectTime);
			owDoorRespInfoDto.setCookPurityUnit(this.cookPurityUnit);
			owDoorRespInfoDto.setCookCleanRate(this.cookCleanRate);
			owDoorRespInfoDto.setCookHasCertificate(this.cookHasCertificate);
			owDoorRespInfoDto.setDgClearUnit(this.dgClearUnit);
			owDoorRespInfoDto.setDgClearRate(this.dgClearRate);
			owDoorRespInfoDto.setDgType(this.dgType);
			owDoorRespInfoDto.setWaterHasLicence(this.waterHasLicence);
			owDoorRespInfoDto.setWaterLicenceNo(this.waterLicenceNo);
			owDoorRespInfoDto.setAdvShopBrandType(this.advShopBrandType);
			owDoorRespInfoDto.setAdvShopBrandContent(this.advShopBrandContent);
			owDoorRespInfoDto.setAdvShopLinkman(this.advShopLinkman);
			owDoorRespInfoDto.setAdvShopTel(this.advShopTel);
			owDoorRespInfoDto.setAdvShopApproval(this.advShopApproval);
			owDoorRespInfoDto.setAdvApprovalNo(this.advApprovalNo);
			owDoorRespInfoDto.setAdvShopApprovalTerm(this.advShopApprovalTerm);
			owDoorRespInfoDto.setAdvShopSetYear(this.advShopSetYear);
			owDoorRespInfoDto.setAdvShopSetNum(this.advShopSetNum);
			owDoorRespInfoDto.setAdvShopSize(this.advShopSize);
			owDoorRespInfoDto.setAdvShopSetHeight(this.advShopSetHeight);
			owDoorRespInfoDto.setAdvHeight(this.advHeight);
			owDoorRespInfoDto.setAdvShopStructureType(this.advShopStructureType);
			owDoorRespInfoDto.setAdvShopMaterial(this.advShopMaterial);
			owDoorRespInfoDto.setAdvShopSetType(this.advShopSetType);
			owDoorRespInfoDto.setAdvStructureType(this.advStructureType);
			owDoorRespInfoDto.setAdvMaterial(this.advMaterial);
			owDoorRespInfoDto.setUserId(this.userId);
			owDoorRespInfoDto.setInsertFlag(this.insertFlag);
			owDoorRespInfoDto.setAdvShopApprovalNo(this.advShopApprovalNo);
			owDoorRespInfoDto.setAdvBrandType(this.advBrandType);
			owDoorRespInfoDto.setAdvContent(this.advContent);
			owDoorRespInfoDto.setAdvPlaceOwner(this.advPlaceOwner);
			owDoorRespInfoDto.setAdvPlaceLinkman(this.advPlaceLinkman);
			owDoorRespInfoDto.setAdvPlaceTel(this.advPlaceTel);
			owDoorRespInfoDto.setAdvSetParty(this.advSetParty);
			owDoorRespInfoDto.setAdvSetPartyLinkman(this.advSetPartyLinkman);
			owDoorRespInfoDto.setAdvSetPartyTel(this.advSetPartyTel);
			owDoorRespInfoDto.setAdvApproval(this.advApproval);
			owDoorRespInfoDto.setAdvApprovalTermVar(this.advApprovalTermVar);
			owDoorRespInfoDto.setAdvApprovalTermDate(this.advApprovalTermDate);
			owDoorRespInfoDto.setAdvSetNum(this.advSetNum);
			owDoorRespInfoDto.setAdvSize(this.advSize);
			owDoorRespInfoDto.setAdvSetMode(this.advSetMode);
			owDoorRespInfoDto.setParkRegAddr(this.parkRegAddr);
			owDoorRespInfoDto.setParkPlaceAddr(this.parkPlaceAddr);
			owDoorRespInfoDto.setParkRecordCardNo(this.parkRecordCardNo);
			owDoorRespInfoDto.setParkRecordDate(this.parkRecordDate);
			owDoorRespInfoDto.setParkRespPerson(this.parkRespPerson);
			owDoorRespInfoDto.setParkRespPersonTel(this.parkRespPersonTel);
			owDoorRespInfoDto.setParkPropertyNature(this.parkPropertyNature);
			owDoorRespInfoDto.setParkLotSum(this.parkLotSum);
			owDoorRespInfoDto.setParkPlaceType(this.parkPlaceType);
			owDoorRespInfoDto.setParkLotNum(this.parkLotNum);
			owDoorRespInfoDto.setParkLotFreightBasis(this.parkLotFreightBasis);
			owDoorRespInfoDto.setParkGarageNum(this.parkGarageNum);
			owDoorRespInfoDto.setParkGarageFreightBasis(this.parkGarageFreightBasis);
			owDoorRespInfoDto.setParkOnline(this.parkOnline);
			owDoorRespInfoDto.setParkServiceTime(this.parkServiceTime);
			owDoorRespInfoDto.setRandomKey(this.randomKey);
			owDoorRespInfoDto.setParkServiceTel(this.parkServiceTel);
			owDoorRespInfoDto.setParkHotline(this.parkHotline);

			//调用远程服务
			resultObj =  owDoorRespInfoService.addData(owDoorRespInfoDto);
			this.jsonArrayResult.add(resultObj.getResultMap());

		} catch (Exception e) {
			e.printStackTrace();
			resultObj.fault("error:系统出错:"+e.getLocalizedMessage());
			this.jsonArrayResult.add(resultObj.getResultMap());
		}
		return "jsonArray";
	}


	//=====================================================
	// setter getter method
	//=====================================================


	public String getId(){
	return id;
	}
	public void setId(String id){
	this.id = id;
	}
	public String getDeleteflag(){
	return deleteflag;
	}
	public void setDeleteflag(String deleteflag){
	this.deleteflag = deleteflag;
	}
	public String getCreatedate(){
	return createdate;
	}
	public void setCreatedate(String createdate){
	this.createdate = createdate;
	}
    public String getCreatedate_Start(){
    	return createdate_Start;
    }
    public void setCreatedate_Start(String createdate_Start){
    	this.createdate_Start = createdate_Start;
    }
    public String getCreatedate_End(){
    	return createdate_End;
    }
    public void setCreatedate_End(String createdate_End){
    	this.createdate_End = createdate_End;
    }
	public String getCreateman(){
	return createman;
	}
	public void setCreateman(String createman){
	this.createman = createman;
	}
	public String getModifydate(){
	return modifydate;
	}
	public void setModifydate(String modifydate){
	this.modifydate = modifydate;
	}
    public String getModifydate_Start(){
    	return modifydate_Start;
    }
    public void setModifydate_Start(String modifydate_Start){
    	this.modifydate_Start = modifydate_Start;
    }
    public String getModifydate_End(){
    	return modifydate_End;
    }
    public void setModifydate_End(String modifydate_End){
    	this.modifydate_End = modifydate_End;
    }
	public String getModifyman(){
	return modifyman;
	}
	public void setModifyman(String modifyman){
	this.modifyman = modifyman;
	}
	public String getCreatemanId(){
	return createmanId;
	}
	public void setCreatemanId(String createmanId){
	this.createmanId = createmanId;
	}
	public String getModifymanId(){
	return modifymanId;
	}
	public void setModifymanId(String modifymanId){
	this.modifymanId = modifymanId;
	}
	public String getCompanyId(){
	return companyId;
	}
	public void setCompanyId(String companyId){
	this.companyId = companyId;
	}
	public String getEntName(){
	return entName;
	}
	public void setEntName(String entName){
	this.entName = entName;
	}
	public String getEntShopName(){
	return entShopName;
	}
	public void setEntShopName(String entShopName){
	this.entShopName = entShopName;
	}
	public String getEntFormat(){
	return entFormat;
	}
	public void setEntFormat(String entFormat){
	this.entFormat = entFormat;
	}
	public String getEntDetailAdd(){
	return entDetailAdd;
	}
	public void setEntDetailAdd(String entDetailAdd){
	this.entDetailAdd = entDetailAdd;
	}
	public String getEntOwner(){
	return entOwner;
	}
	public void setEntOwner(String entOwner){
	this.entOwner = entOwner;
	}
	public String getEntProperty(){
	return entProperty;
	}
	public void setEntProperty(String entProperty){
	this.entProperty = entProperty;
	}
	public String getEntSocialCreditCode(){
	return entSocialCreditCode;
	}
	public void setEntSocialCreditCode(String entSocialCreditCode){
	this.entSocialCreditCode = entSocialCreditCode;
	}
	public String getEntManageArea(){
	return entManageArea;
	}
	public void setEntManageArea(String entManageArea){
	this.entManageArea = entManageArea;
	}
	public String getEntLegalPerson(){
	return entLegalPerson;
	}
	public void setEntLegalPerson(String entLegalPerson){
	this.entLegalPerson = entLegalPerson;
	}
	public String getEntLpTel(){
	return entLpTel;
	}
	public void setEntLpTel(String entLpTel){
	this.entLpTel = entLpTel;
	}
	public String getEntRespPerson(){
	return entRespPerson;
	}
	public void setEntRespPerson(String entRespPerson){
	this.entRespPerson = entRespPerson;
	}
	public String getEntRpTel(){
	return entRpTel;
	}
	public void setEntRpTel(String entRpTel){
	this.entRpTel = entRpTel;
	}
	public String getEntType(){
	return entType;
	}
	public void setEntType(String entType){
	this.entType = entType;
	}
	public String getCookWasteCollectUnit(){
	return cookWasteCollectUnit;
	}
	public void setCookWasteCollectUnit(String cookWasteCollectUnit){
	this.cookWasteCollectUnit = cookWasteCollectUnit;
	}
	public String getCookDeviceInstall(){
	return cookDeviceInstall;
	}
	public void setCookDeviceInstall(String cookDeviceInstall){
	this.cookDeviceInstall = cookDeviceInstall;
	}
	public String getCookCollectCarNo(){
	return cookCollectCarNo;
	}
	public void setCookCollectCarNo(String cookCollectCarNo){
	this.cookCollectCarNo = cookCollectCarNo;
	}
	public String getCookCollectRate(){
	return cookCollectRate;
	}
	public void setCookCollectRate(String cookCollectRate){
	this.cookCollectRate = cookCollectRate;
	}
	public String getCookCollectTime(){
	return cookCollectTime;
	}
	public void setCookCollectTime(String cookCollectTime){
	this.cookCollectTime = cookCollectTime;
	}
	public String getCookPurityUnit(){
	return cookPurityUnit;
	}
	public void setCookPurityUnit(String cookPurityUnit){
	this.cookPurityUnit = cookPurityUnit;
	}
	public String getCookCleanRate(){
	return cookCleanRate;
	}
	public void setCookCleanRate(String cookCleanRate){
	this.cookCleanRate = cookCleanRate;
	}
	public String getCookHasCertificate(){
	return cookHasCertificate;
	}
	public void setCookHasCertificate(String cookHasCertificate){
	this.cookHasCertificate = cookHasCertificate;
	}
	public String getDgClearUnit(){
	return dgClearUnit;
	}
	public void setDgClearUnit(String dgClearUnit){
	this.dgClearUnit = dgClearUnit;
	}
	public String getDgClearRate(){
	return dgClearRate;
	}
	public void setDgClearRate(String dgClearRate){
	this.dgClearRate = dgClearRate;
	}
	public String getDgType(){
	return dgType;
	}
	public void setDgType(String dgType){
	this.dgType = dgType;
	}
	public String getWaterHasLicence(){
	return waterHasLicence;
	}
	public void setWaterHasLicence(String waterHasLicence){
	this.waterHasLicence = waterHasLicence;
	}
	public String getWaterLicenceNo(){
	return waterLicenceNo;
	}
	public void setWaterLicenceNo(String waterLicenceNo){
	this.waterLicenceNo = waterLicenceNo;
	}
	public String getAdvShopBrandType(){
	return advShopBrandType;
	}
	public void setAdvShopBrandType(String advShopBrandType){
	this.advShopBrandType = advShopBrandType;
	}
	public String getAdvShopBrandContent(){
	return advShopBrandContent;
	}
	public void setAdvShopBrandContent(String advShopBrandContent){
	this.advShopBrandContent = advShopBrandContent;
	}
	public String getAdvShopLinkman(){
	return advShopLinkman;
	}
	public void setAdvShopLinkman(String advShopLinkman){
	this.advShopLinkman = advShopLinkman;
	}
	public String getAdvShopTel(){
	return advShopTel;
	}
	public void setAdvShopTel(String advShopTel){
	this.advShopTel = advShopTel;
	}
	public String getAdvShopApproval(){
	return advShopApproval;
	}
	public void setAdvShopApproval(String advShopApproval){
	this.advShopApproval = advShopApproval;
	}
	public String getAdvApprovalNo(){
	return advApprovalNo;
	}
	public void setAdvApprovalNo(String advApprovalNo){
	this.advApprovalNo = advApprovalNo;
	}
	public String getAdvShopApprovalTerm(){
	return advShopApprovalTerm;
	}
	public void setAdvShopApprovalTerm(String advShopApprovalTerm){
	this.advShopApprovalTerm = advShopApprovalTerm;
	}
	public String getAdvShopSetYear(){
	return advShopSetYear;
	}
	public void setAdvShopSetYear(String advShopSetYear){
	this.advShopSetYear = advShopSetYear;
	}
	public String getAdvShopSetNum(){
	return advShopSetNum;
	}
	public void setAdvShopSetNum(String advShopSetNum){
	this.advShopSetNum = advShopSetNum;
	}
	public String getAdvShopSize(){
	return advShopSize;
	}
	public void setAdvShopSize(String advShopSize){
	this.advShopSize = advShopSize;
	}
	public String getAdvShopSetHeight(){
	return advShopSetHeight;
	}
	public void setAdvShopSetHeight(String advShopSetHeight){
	this.advShopSetHeight = advShopSetHeight;
	}
	public String getAdvHeight(){
	return advHeight;
	}
	public void setAdvHeight(String advHeight){
	this.advHeight = advHeight;
	}
	public String getAdvShopStructureType(){
	return advShopStructureType;
	}
	public void setAdvShopStructureType(String advShopStructureType){
	this.advShopStructureType = advShopStructureType;
	}
	public String getAdvShopMaterial(){
	return advShopMaterial;
	}
	public void setAdvShopMaterial(String advShopMaterial){
	this.advShopMaterial = advShopMaterial;
	}
	public String getAdvShopSetType(){
	return advShopSetType;
	}
	public void setAdvShopSetType(String advShopSetType){
	this.advShopSetType = advShopSetType;
	}
	public String getAdvStructureType(){
	return advStructureType;
	}
	public void setAdvStructureType(String advStructureType){
	this.advStructureType = advStructureType;
	}
	public String getAdvMaterial(){
	return advMaterial;
	}
	public void setAdvMaterial(String advMaterial){
	this.advMaterial = advMaterial;
	}
	public String getUserId(){
	return userId;
	}
	public void setUserId(String userId){
	this.userId = userId;
	}
	public String getInsertFlag(){
	return insertFlag;
	}
	public void setInsertFlag(String insertFlag){
	this.insertFlag = insertFlag;
	}
	public String getAdvShopApprovalNo(){
	return advShopApprovalNo;
	}
	public void setAdvShopApprovalNo(String advShopApprovalNo){
	this.advShopApprovalNo = advShopApprovalNo;
	}
	public String getAdvBrandType(){
	return advBrandType;
	}
	public void setAdvBrandType(String advBrandType){
	this.advBrandType = advBrandType;
	}
	public String getAdvContent(){
	return advContent;
	}
	public void setAdvContent(String advContent){
	this.advContent = advContent;
	}
	public String getAdvPlaceOwner(){
	return advPlaceOwner;
	}
	public void setAdvPlaceOwner(String advPlaceOwner){
	this.advPlaceOwner = advPlaceOwner;
	}
	public String getAdvPlaceLinkman(){
	return advPlaceLinkman;
	}
	public void setAdvPlaceLinkman(String advPlaceLinkman){
	this.advPlaceLinkman = advPlaceLinkman;
	}
	public String getAdvPlaceTel(){
	return advPlaceTel;
	}
	public void setAdvPlaceTel(String advPlaceTel){
	this.advPlaceTel = advPlaceTel;
	}
	public String getAdvSetParty(){
	return advSetParty;
	}
	public void setAdvSetParty(String advSetParty){
	this.advSetParty = advSetParty;
	}
	public String getAdvSetPartyLinkman(){
	return advSetPartyLinkman;
	}
	public void setAdvSetPartyLinkman(String advSetPartyLinkman){
	this.advSetPartyLinkman = advSetPartyLinkman;
	}
	public String getAdvSetPartyTel(){
	return advSetPartyTel;
	}
	public void setAdvSetPartyTel(String advSetPartyTel){
	this.advSetPartyTel = advSetPartyTel;
	}
	public String getAdvApproval(){
	return advApproval;
	}
	public void setAdvApproval(String advApproval){
	this.advApproval = advApproval;
	}
	public String getAdvApprovalTermVar(){
	return advApprovalTermVar;
	}
	public void setAdvApprovalTermVar(String advApprovalTermVar){
	this.advApprovalTermVar = advApprovalTermVar;
	}
	public String getAdvApprovalTermDate(){
	return advApprovalTermDate;
	}
	public void setAdvApprovalTermDate(String advApprovalTermDate){
	this.advApprovalTermDate = advApprovalTermDate;
	}
    public String getAdvApprovalTermDate_Start(){
    	return advApprovalTermDate_Start;
    }
    public void setAdvApprovalTermDate_Start(String advApprovalTermDate_Start){
    	this.advApprovalTermDate_Start = advApprovalTermDate_Start;
    }
    public String getAdvApprovalTermDate_End(){
    	return advApprovalTermDate_End;
    }
    public void setAdvApprovalTermDate_End(String advApprovalTermDate_End){
    	this.advApprovalTermDate_End = advApprovalTermDate_End;
    }
	public String getAdvSetNum(){
	return advSetNum;
	}
	public void setAdvSetNum(String advSetNum){
	this.advSetNum = advSetNum;
	}
	public String getAdvSize(){
	return advSize;
	}
	public void setAdvSize(String advSize){
	this.advSize = advSize;
	}
	public String getAdvSetMode(){
	return advSetMode;
	}
	public void setAdvSetMode(String advSetMode){
	this.advSetMode = advSetMode;
	}
	public String getParkRegAddr(){
	return parkRegAddr;
	}
	public void setParkRegAddr(String parkRegAddr){
	this.parkRegAddr = parkRegAddr;
	}
	public String getParkPlaceAddr(){
	return parkPlaceAddr;
	}
	public void setParkPlaceAddr(String parkPlaceAddr){
	this.parkPlaceAddr = parkPlaceAddr;
	}
	public String getParkRecordCardNo(){
	return parkRecordCardNo;
	}
	public void setParkRecordCardNo(String parkRecordCardNo){
	this.parkRecordCardNo = parkRecordCardNo;
	}
	public String getParkRecordDate(){
	return parkRecordDate;
	}
	public void setParkRecordDate(String parkRecordDate){
	this.parkRecordDate = parkRecordDate;
	}
	public String getParkRespPerson(){
	return parkRespPerson;
	}
	public void setParkRespPerson(String parkRespPerson){
	this.parkRespPerson = parkRespPerson;
	}
	public String getParkRespPersonTel(){
	return parkRespPersonTel;
	}
	public void setParkRespPersonTel(String parkRespPersonTel){
	this.parkRespPersonTel = parkRespPersonTel;
	}
	public String getParkPropertyNature(){
	return parkPropertyNature;
	}
	public void setParkPropertyNature(String parkPropertyNature){
	this.parkPropertyNature = parkPropertyNature;
	}
	public String getParkLotSum(){
	return parkLotSum;
	}
	public void setParkLotSum(String parkLotSum){
	this.parkLotSum = parkLotSum;
	}
	public String getParkPlaceType(){
	return parkPlaceType;
	}
	public void setParkPlaceType(String parkPlaceType){
	this.parkPlaceType = parkPlaceType;
	}
	public String getParkLotNum(){
	return parkLotNum;
	}
	public void setParkLotNum(String parkLotNum){
	this.parkLotNum = parkLotNum;
	}
	public String getParkLotFreightBasis(){
	return parkLotFreightBasis;
	}
	public void setParkLotFreightBasis(String parkLotFreightBasis){
	this.parkLotFreightBasis = parkLotFreightBasis;
	}
	public String getParkGarageNum(){
	return parkGarageNum;
	}
	public void setParkGarageNum(String parkGarageNum){
	this.parkGarageNum = parkGarageNum;
	}
	public String getParkGarageFreightBasis(){
	return parkGarageFreightBasis;
	}
	public void setParkGarageFreightBasis(String parkGarageFreightBasis){
	this.parkGarageFreightBasis = parkGarageFreightBasis;
	}
	public String getParkOnline(){
	return parkOnline;
	}
	public void setParkOnline(String parkOnline){
	this.parkOnline = parkOnline;
	}
	public String getParkServiceTime(){
	return parkServiceTime;
	}
	public void setParkServiceTime(String parkServiceTime){
	this.parkServiceTime = parkServiceTime;
	}
	public String getRandomKey(){
	return randomKey;
	}
	public void setRandomKey(String randomKey){
	this.randomKey = randomKey;
	}
	public String getParkServiceTel(){
	return parkServiceTel;
	}
	public void setParkServiceTel(String parkServiceTel){
	this.parkServiceTel = parkServiceTel;
	}
	public String getParkHotline(){
	return parkHotline;
	}
	public void setParkHotline(String parkHotline){
	this.parkHotline = parkHotline;
	}

	public String getSortColumn() {
		return sortColumn;
	}
	public void setSortColumn(String sortColumn) {
		this.sortColumn = sortColumn;
	}
	public String getSortOrder() {
		return sortOrder;
	}
	public void setSortOrder(String sortOrder) {
		this.sortOrder = sortOrder;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getRows() {
		return rows;
	}
	public void setRows(int rows) {
		this.rows = rows;
	}
	public String getResult() {
		return result;
	}
	public void setResult(String result) {
		this.result = result;
	}
	public List<Map<String, Object>> getJsonArrayResult() {
		return jsonArrayResult;
	}
	public void setJsonArrayResult(List<Map<String, Object>> jsonArrayResult) {
		this.jsonArrayResult = jsonArrayResult;
	}

	public String getSignPic() {
		return signPic;
	}

	public void setSignPic(String signPic) {
		this.signPic = signPic;
	}

	public String getAdvFacilityAddr() {
		return advFacilityAddr;
	}

	public void setAdvFacilityAddr(String advFacilityAddr) {
		this.advFacilityAddr = advFacilityAddr;
	}

	public String getAdvLocation() {
		return advLocation;
	}

	public void setAdvLocation(String advLocation) {
		this.advLocation = advLocation;
	}
}
